import request from '@/utils/request';

// 首页数据概览
export function viewModelApi() {
  return request({
    url: '/admin/platform/statistics/home/index',
    method: 'GET',
  });
}

// 用户购买统计
export function chartBuyApi() {
  return request({
    url: '/admin/statistics/home/chart/user/buy',
    method: 'get',
  });
}
// 首页经营数据
export function businessData() {
  return request({
    url: '/admin/platform/statistics/home/operating/data',
    method: 'get',
  });
}
